package com.jia.service.impl;

import com.jia.domain.MyMapper;
import com.jia.pojo.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;
@Service
@Transactional
public class FindUserImpl implements com.jia.service.FindUser {
    @Autowired
    private MyMapper myMapper;
    @Override
    public List<User> findUser() {
        List<User> user = myMapper.findUser();
        return user;
    }
}
